﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Comany.Core.Helper
{
    public static class FileHelper
    {
        public static byte[] Laod(string path)
        {
            if (File.Exists(path))
            {
                return File.ReadAllBytes(path);
            }
            throw new Exception("{path}不存在");


        }



    }
}
